package com.japstudy.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.japstudy.entity.WrongWord;

public interface IWrongWordDao extends IBaseDao<WrongWord>{
	
	WrongWord selectByUserIdAndWordId(WrongWord wrongWord);
	
	int updateMaster(@Param("wrongWord") WrongWord wrongWord);
	
	int updateWrongCount(WrongWord wrongWord);

	List<WrongWord> selectWrongWordOfTopTen(String userId);
	
}
